import {createApp} from 'vue'
import App from '@/App.vue'
import router from "@/router";
import naive from 'naive-ui';
import {initStore} from '@/store';
import "@/plugins/naive-ui/common"
import "@/config/console.log";
import {initDirectives} from "@/directives";
import {initIcon} from "@/plugins/naive-ui/common";
import "@/style/index.css"
import uploader from 'vue-simple-uploader'
import VueDiff from 'vue-diff';


import 'katex/dist/katex.min.css'
import '@/styles/lib/highlight.less'
import '@/styles/lib/github-markdown.less'
import 'vue-simple-uploader/dist/style.css'
import 'vue-diff/dist/index.css';


const app = createApp(App)
app.use(uploader)
app.use(VueDiff);
initStore(app)
initDirectives(app)
initIcon(app)
app.use(router)
app.use(naive)
app.mount('#app')
